package com.lpit.service;

import com.lpit.vo.ArticleVo;
import com.lpit.result.ResponseResult;
import com.lpit.dto.UserHomeDto;
import com.lpit.vo.UserVo;

import java.util.List;

/**
* @author Administrator
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2023-06-27 14:47:00
*/
public interface UserService{

    /*获取用户主页资料*/
    public ResponseResult<UserVo> getUserHome(UserHomeDto userHomeDto);

    /*获取用户文章*/
    public ResponseResult<List<ArticleVo>> getUserArticle(UserHomeDto userHomeDto);

    /*获取用户文章最热十条，*/
    public ResponseResult<List<ArticleVo>> getUserArticleSort(UserHomeDto userHomeDto);
}
